package vn.com.tma.DemoAndroid;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

public class Act1 extends Activity {
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.act1);
        TextView lb = (TextView)findViewById(R.id.txt);
        Bundle b = getIntent().getExtras();
        String txt1 = b.getString("key");
        lb.setText(txt1);
    }
}
